package dao;

import java.util.List;

import javax.ejb.Remote;

import dto.CategoryDTO;
import dto.DomainDTO;

@Remote
public interface CategoryDAORemote {


	  void addCategory(CategoryDTO cDto) throws Exception;
	  void addCategory(CategoryDTO cDTO, DomainDTO dDTO) throws Exception;
	  public List<CategoryDTO> getCategoryByDomain(int domainID);
	  void removeCategory(CategoryDTO cDTO) throws Exception;
	  public CategoryDTO getCategoryByName(String domainName) throws Exception;
	  public int getCategoryId(String cName);
	  public CategoryDTO getCategoryByNameDomain(String categName, int domainID) throws Exception;
	  public CategoryDTO getCategoryById(int catID);	
	  public CategoryDTO getCategoryByNameAndDomain(String domainName, int domainID) throws Exception;

}
